<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form action="{% url 'suanfen' %}" method="post">
    <table border=9px style="margin: 0 auto" bgcolor="silver" width="600px">
    <tr>
        <td>题号</td>
        <td>分数</td>
        <td>题目</td>
        <td colspan="2">选项</td>
    </tr>
        {% for all in alls %}
            <tr>
                <td>{{ forloop.counter }}</td>
                <td>{{ all.score }}分</td>
                <input type="hidden" value="{{ all.id }}" name="sid">
{#                <br>#}
                <td>问题{{ all.title }}</td>
{#                <br>#}
                <td><input name="nnn" type="checkbox" value={{ all.T }},{{ all.id }}>1.正确</td>
                <td><input name="nnn" type="checkbox" value={{ all.F }},{{ all.id }} >2.错误</td>
{#                <br>#}
            </tr>
        {% endfor %}
    <tr><td colspan="5"><button>交卷</button></td></tr>

    </table>

</form>
</body>
</html>
